import xlwings as xw
app = xw.App(visible=False, add_book=False)
workbook = app.books.open('F:\\python\\第4章\\汽车备案信息.xlsx')
worksheet = workbook.sheets['商用车信息']
area1 = worksheet.range('A5:E15')
area2 = area1.resize(row_size=5, column_size=3)
print(area1)
print(area2)
workbook.close()
app.quit()
